﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DoctorsTreat.aspx.cs" Inherits="Page_AutoUpdate_DoctorsTreat" %>

<%@ Import Namespace="System.Data" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link href="../../CSS/my-order.1.css" rel="stylesheet" />
    <script src="../../Scripts/WebForms/Common.js"></script>
    <link href="../../CSS/m.css" rel="stylesheet" />
    <link href="../../CSS/MyTest.css" rel="stylesheet" />
    <script src="../../Scripts/jquery-1.8.0.min.js"></script>
    <title>医嘱处理</title> 

    <style>
        .table_data_details tbody tr th, td
        {
            height: auto;
            width: 64px;
            font-size: 12px;
            text-align: center;
                color: grey;
        }
    </style>
</head>
<body>
    <% if (Dc != null && Dc.Count > 0)
       { %>
    <section class="jump_patient_select">
        <table class="table_data_details">
            <colgroup>
                <%--<col width="35%">--%>
                <col width="20%">
                <col width="30%">
                <col width="10%">
                <col width="15%">
            </colgroup>
            <tbody>
                <tr>
                    <%--<th>内容</th>--%>
                    <th>项目</th>
                    <th>开始时间</th>
                    <th>医生</th>
                    <th>状态</th>
                </tr>
                <% foreach (DataRow dr in Dc)
                   { %>
                <tr onclick="window.location.href='DoctorsTreatDetial.aspx?ORDID=<%= dr["ORDID"] %>&KEY=<%= UnicodeKey %>';">
                    <%--<td>陪客一人/其它</td>--%>
                    <td><%= dr["ORDTYPENAME"] %></td>
                    <td><%= dr["BEGINDATE"] %></td>
                    <td><%= dr["EMPID_CHECK"] %></td>
                    <td><%= dr["OrdStatusNAme"] %></td>
                </tr>
                <% } %>
            </tbody>
        </table>
    </section>
    <% }
       else
       {%>
    <div class="" style="text-align: center; margin-top: 30%;">
        <p>还没有任何医嘱~</p>
    </div>
    <%} %>
</body>
</html>
